package com.ahm.service.impl;

import com.ahm.pojo.Product;
import com.ahm.service.ProductService;
import org.springframework.stereotype.Service;

import java.util.Arrays;
import java.util.List;

/**
 * @author anhaimeng
 * @title: ProductServiceImpl
 * @projectName consule-demo
 * @description: TODO
 * @date 2021/10/1916:10
 */
/*功能描述
 * @author ahm
 */
@Service
public class ProductServiceImpl implements ProductService {
    @Override
    public List<Product> selectProductList() {
        return Arrays.asList(
                new Product(1,"华为手机",3,6833.0D),
                new Product(2,"xiaomi手机",3,6833.0D),
                new Product(1,"vivo手机",3,6833.0D)
        );
    }
}
